package com.filetransfer.viewmodel;
import com.filetransfer.viewmodel.base.TaskTableRowModel;
public class UploadTableRowViewModel extends TaskTableRowModel {
    private static final int ROW_TASK_NAME = 0;
    private static final int ROW_STATUS = 1;
    private static final int ROW_PROGRESS = 2;
    private static final int ROW_SHARE_CODE = 3;
    private static final int ROW_MESSAGE = 4;
    public UploadTableRowViewModel(String taskName, String status, int progress, String shareCode, String message) {
        super(taskName, status, progress, shareCode, message);
    }
    public String getTaskName() {
        return (String) get(ROW_TASK_NAME);
    }
    public void setTaskName(String taskName) {
        setProperty(ROW_TASK_NAME, taskName);
    }
    public String getStatus() {
        return (String) get(ROW_STATUS);
    }
    public void setStatus(String status) {
        setProperty(ROW_STATUS, status);
    }
    public int getProgress() {
        return (int) get(ROW_PROGRESS);
    }
    public void setProgress(int progress) {
        setProperty(ROW_PROGRESS, progress);
    }
    public String getShareCode() {
        return (String) get(ROW_SHARE_CODE);
    }
    public void setShareCode(String shareCode) {
        setProperty(ROW_SHARE_CODE, shareCode);
    }
    public String getMessage() {
        return (String) get(ROW_MESSAGE);
    }
    public void setMessage(String message) {
        setProperty(ROW_MESSAGE, message);
    }
}

